package com.mmd.manage.service;

import com.mmd.common.entity.*;
import com.mmd.manage.vo.RouteHscodeVo;
import com.mmd.manage.vo.RouteValidTimeVo;
import com.mmd.manage.vo.RouteVo;

import java.util.List;

public interface RouteService {
    public List<MmdMode> getModeList();

    public List<MmdArea> getAreaList(long parentAreaId);

    public List<MmdRouteDetail> getSonAreaList(long parentAreaId);

    public List<RouteHscodeVo> getHscodeList(String keyWord, String quotationNo);

    public void addRoute(String supplierCode, String routeName, Long modeId, Long areaId, String isem, String detailJson,
                         String hscodeJson, String validStartTimeStr, String validEndTimeStr);

    public void modifyRoute(String routeNo, String routeName, Long modeId, Long areaId, String isem, String detailJson,
                            String hscodeJson, String validStartTimeStr, String validEndTimeStr);

    public RouteVo getRouteInfo(String routeNo);

    public List<MmdRoute> getRouteNameList(long uid);

    public List<RouteValidTimeVo> getValidTimeByRouteName(String routeName);

    public List<RouteVo> getRouteListBySupplier(long uid);

    List<MmdFba> getFbaByAreaId(Long areaId);

    List<MmdRoute> getRouteList(String supplierCode);
}
